package com.mipo.designpattern.factorypattern.factorymethod.sample.LightFactory;

public class AaMain {
	
	public static void main(String[] args) {
		Factory factory1 = new BulbFactory();
		Light bullbLight = factory1.factory();
		bullbLight.turnOn();
		Factory factory2 = new TubeFactory();
		Light tubebLight = factory2.factory();
		tubebLight.turnOn();
	}
	
}